﻿using D.Medicalcare.Domain.Entities;
using D.Medicalcare.ErrorCode;
using D.Medicalcare.Read.API.Dtos;
using MediatR;

namespace D.Medicalcare.Read.API.Application.Command.RegistrationCommand
{
    /// <summary>
    /// 获取挂号列表
    /// </summary>
    public class GetRegistrationCommand : IRequest<APIPaging<RegistrationDTO>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string? EndTime { get; set; }

        /// <summary>
        /// 挂号状态
        /// </summary>
        public string? Statue { get; set; }

        /// <summary>
        /// 医生名称
        /// </summary>
        public string? DoctorName { get; set; }

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PatientName { get; set; }
        /// <summary>
        /// 科室Id
        /// </summary>
        public int? DeparId { get; set; }
    }
}
